package main
import "fmt"

type SayInterface interface {
	Say()
}

type RunInterface interface {
	Run()
}

type Person interface {
	SayInterface
	RunInterface
}

type Student struct {
	Name string
}

func (s *Student) Say() {
	fmt.Println(s.Name, "say")
}

func (s *Student) Run() {
	fmt.Println(s.Name, "run")
}

func main() {
	var p Person = &Student{
		Name: "Tom",
	}
	p.Say()
	p.Run()
}